﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAL_EF;

namespace BLL
{
    public class CourseManager
    {
        public static IFactory ifactory = new Factory();
        public List<Model.Course> obtainCourseName(int courseId)
        {
            Factory factory = new Factory();
            ISaveRepository saveRepository = factory.saveOperations();
            List<Model.Course> courseName = saveRepository.getCourseName(courseId);
            return courseName;
        }
    }
}
